package com.quanyan.runningriding.service;


import com.quanyan.api.APIResponse;
import com.quanyan.runningriding.entity.vo.run.req.RunUserVo;
import com.quanyan.runningriding.entity.vo.run.resp.UserLevelInfo;

import java.io.UnsupportedEncodingException;


/**
 * RunRecordService
 *
 * @author Tu Chun
 * @date 2016/8/23
 */
public interface RunUserService {
    /**
     * 用户登陆
     *
     * @param runUserVo 跑步用户请求对象
     * @return
     * @throws UnsupportedEncodingException
     */
    APIResponse<?> login(RunUserVo runUserVo) throws UnsupportedEncodingException;

    /**
     * 展示用户级别
     *
     * @param userId
     * @return
     */
    APIResponse<UserLevelInfo> showUserLevel(String userId);
}
